package com.leenleda.ips.entity;

import java.io.Serializable;

public class MarqueeEntity implements Serializable {


    /**
     * gravity : 16
     * text : 这是测试内容
     * textSize : 21
     * textColor : #ff00ff
     * fixed : false
     * rollType : true
     * rollSpeed : 100
     * rollTime : 50
     */

    private int gravity;
    private String text;
    private int textSize;
    private String textColor;
    private boolean fixed;
    private boolean rollType;
    private int rollSpeed;
    private int rollTime;
    private long closeTime = 0;

    public long getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(long closeTime) {
        this.closeTime = closeTime;
    }

    public int getGravity() {
        return gravity;
    }

    public void setGravity(int gravity) {
        this.gravity = gravity;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getTextSize() {
        return textSize;
    }

    public void setTextSize(int textSize) {
        this.textSize = textSize;
    }

    public String getTextColor() {
        return textColor;
    }

    public void setTextColor(String textColor) {
        this.textColor = textColor;
    }

    public boolean isFixed() {
        return fixed;
    }

    public void setFixed(boolean fixed) {
        this.fixed = fixed;
    }

    public boolean isRollType() {
        return rollType;
    }

    public void setRollType(boolean rollType) {
        this.rollType = rollType;
    }

    public int getRollSpeed() {
        return rollSpeed;
    }

    public void setRollSpeed(int rollSpeed) {
        this.rollSpeed = rollSpeed;
    }

    public int getRollTime() {
        return rollTime;
    }

    public void setRollTime(int rollTime) {
        this.rollTime = rollTime;
    }

    @Override
    public String toString() {
        return "MarqueeEntity{" +
                "gravity=" + gravity +
                ", text='" + text + '\'' +
                ", textSize=" + textSize +
                ", textColor='" + textColor + '\'' +
                ", fixed=" + fixed +
                ", rollType=" + rollType +
                ", rollSpeed=" + rollSpeed +
                ", rollTime=" + rollTime +
                '}';
    }
}
